import typescript from "rollup-plugin-typescript2";
import resolve from "rollup-plugin-node-resolve";

export default {
  input: "index.ts",
  output: {
    file: "index.js",
    format: "iife",
    name: "MyCanvas",
    globals: {
      animejs: "anime",
    },
  },
  plugins: [resolve(),typescript()],
};
